package com.ruoyi.whzj.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户提现记录对象 wh_userwithdraw
 * 
 * @author ruoyi
 * @date 2020-10-30
 */
public class WhUserwithdraw extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    private String dateStr;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String userName;

    /** 提现金额 */
    @Excel(name = "提现金额")
    private BigDecimal withdrawMoney;

    /** 收款码 */
    @Excel(name = "收款码")
    private String withdrawPic;

    /** 转账凭证 */
    @Excel(name = "转账凭证")
    private String payPic;

    /** 状态（申请，已转账，失败） */
    @Excel(name = "状态", readConverterExp = "申=请，已转账，失败")
    private String status;

    /** 拒绝原因 */
    @Excel(name = "拒绝原因")
    private String reduceReason;

    //提现方式 1微信 2支付宝
    private String type;

    private BigDecimal balance;

    private BigDecimal sumMoney;

    private BigDecimal withdrawBefore;

    private BigDecimal withdrawAfter;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setWithdrawMoney(BigDecimal withdrawMoney) 
    {
        this.withdrawMoney = withdrawMoney;
    }

    public BigDecimal getWithdrawMoney() 
    {
        return withdrawMoney;
    }
    public void setWithdrawPic(String withdrawPic) 
    {
        this.withdrawPic = withdrawPic;
    }

    public String getWithdrawPic() 
    {
        return withdrawPic;
    }
    public void setPayPic(String payPic) 
    {
        this.payPic = payPic;
    }

    public String getPayPic() 
    {
        return payPic;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setReduceReason(String reduceReason) 
    {
        this.reduceReason = reduceReason;
    }

    public String getReduceReason() 
    {
        return reduceReason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("withdrawMoney", getWithdrawMoney())
            .append("withdrawPic", getWithdrawPic())
            .append("payPic", getPayPic())
            .append("status", getStatus())
            .append("reduceReason", getReduceReason())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDateStr() {
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public BigDecimal getBalance() {
        return balance;
    }

    public void setBalance(BigDecimal balance) {
        this.balance = balance;
    }

    public BigDecimal getSumMoney() {
        return sumMoney;
    }

    public void setSumMoney(BigDecimal sumMoney) {
        this.sumMoney = sumMoney;
    }

    public BigDecimal getWithdrawBefore() {
        return withdrawBefore;
    }

    public void setWithdrawBefore(BigDecimal withdrawBefore) {
        this.withdrawBefore = withdrawBefore;
    }

    public BigDecimal getWithdrawAfter() {
        return withdrawAfter;
    }

    public void setWithdrawAfter(BigDecimal withdrawAfter) {
        this.withdrawAfter = withdrawAfter;
    }
}
